package com.yuelao.mongo.dao;

import lombok.Getter;
import lombok.Setter;

@Setter
@Getter
public class Point {
    private double lng;
    private double lat;

    public double[] toArray() {
        return new double[]{lng, lat};
    }
    @Override
    public String toString() {
        return "[" + lng + "," +lat +"]";
    }

}
